<form class="form-horizontal" role="form">   
  <div class="form-group">
    <label class="col-sm-2 control-label">流水号</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.no}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">头像</label>
    <div class="col-sm-10">
      <p class="form-control-static"><notempty name="distributionShopUserWithdraw.face"><img src="{$distributionShopUserWithdraw.face}" width="45" height="45"/></notempty></p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">昵称</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.nickname}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">OpenId</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.openId}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">支付状态</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.showStatusName}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">申请时间</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.createTime|date='Y-m-d H:i:s',###}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">银行</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.bankName}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">收款人姓名</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.accountName}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">手机号</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw['tel']?$distributionShopUserWithdraw['tel']:'--'}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">账号</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.account}</p>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">提现金额</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.money}</p>
    </div>
  </div>
  <eq name="distributionShopUserWithdraw['status']" value="1">
  <div class="form-group">
    <label class="col-sm-2 control-label">打款日期</label>
    <div class="col-sm-10">
      <p class="form-control-static">{$distributionShopUserWithdraw.payTime|date='Y-m-d H:i:s',###}</p>
    </div>
  </div>
  </eq>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <input type="hidden" name="id" value="{$distributionShopUserWithdraw['id']}">
      <eq name="distributionShopUserWithdraw['status']" value="0">
      <button id="btnConfirm" type="button" class="btn btn-primary submit">确认已打款</button>
      </eq>
    </div>
   </div>
</form>

<script type="text/javascript">
(function($) {
	$(function() {
		$( "#btnConfirm" ).click(function() {
			if ( confirm("确定您已经用网银或到银行把提款打给了'{$distributionShopUserWithdraw.nickname}'了吗?") ) {
				$(this).attr("disabled", true);
				var formArray = $('form').serializeArray();
				$.post("__CONTROLLER__/confirmPost", formArray, function( data ) {
					alert(data['msg']);
					$(this).attr("disabled", false);
				});
			}
		});
	});
})(jQuery);
</script>